package Cn.Sarkar.IMS.DataBaseDefinations

import Cn.Sarkar.Entities.Common.Table
import Cn.Sarkar.EntityDream.CoreEngine.RDBMS.Core.Extensions.comment
import Cn.Sarkar.EntityDream.CoreEngine.RDBMS.Core.Extensions.floatColumn
import Cn.Sarkar.EntityDream.CoreEngine.RDBMS.Core.Extensions.intColumn
import Cn.Sarkar.EntityDream.CoreEngine.RDBMS.Core.Extensions.reference

object ProductCompositions : Table("ProductComposition") {
    override var Comment: String = "ئامباردىن مەھسۇلات خوراش، مەھسۇلات تەركىۋى قائىدىسى"
    val ApplicationDomainID = intColumn("ApplicationDomainID") reference IMSApplicationDomains.ID comment "Application Domain"
    val ProductID = intColumn("ProductID") reference Products.ID comment "مەھسۇلات"
    val Number = floatColumn("Number") comment "سانى"
    override val CATEGORY: Int = 20
}